package org.cfx.org.mapper;

import org.cfx.basic.mapper.BaseMapper;
import org.cfx.org.domain.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author RTX 9090
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    /**
     * 查上级部门
     */
    List<Department> queryTree();
}
